﻿import com.dmotiko.mirador.*
import com.dmotiko.general.*
import mx.utils.Delegate;

class MiradorServicioEventoGaleria
extends MiradorServicioGaleria {
		
	public function childLoaded( evnt ):Void {
		if ( MiradorInternalBtn( evnt.target ) ) {
			evnt.target.addEventListener( BaseClipEvent.CHANGED, Delegate.create(this, room_selected) );
		}
		if( MiradorPhotoGalleryThumbs( evnt.target) ){
			mcPhotoThumbs.addEventListener( BaseClipEvent.CHANGED, Delegate.create(this, setPhoto) );
			mcMirador.onRollOver();
			mcMirador.onRelease();
		} 
	}
		
}